﻿using S.Weaning.Domain;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace S.Weaning.Infrastructure.Interface
{
    public interface IWeaningRepository : IBaseRepository<MaternalWeaningModel>
    {
        /// <summary>
        /// 批量添加配种信息
        /// </summary>
        /// <param name="dtos"></param>
        /// <returns></returns>
        public int AddMaternalWeaning(List<MaternalWeaningModel> m);
        /// <summary>
        /// 种母断奶显示
        /// </summary>
        /// <param name="ddate"></param>
        /// <param name="ear"></param>
        /// <param name="build"></param>
        /// <param name="userid"></param>
        /// <returns></returns>

        public List<MaternalWeaningModel> ShowMaternalWeaning(string? ddate, string? ear, string? build, int userid);
    }
}
